package com.example.wzh.robotsdemo.controlbean;

/**
 * Created by WZH on 2017/9/7.
 */

public class OutHomeBean {

    /**
     * "attrs : {"event_curtain_control":1,"event_curtain_control_helper":1}
     */
    private int event_out_home;
    private int event_out_home_helper;


    public OutHomeBean(int event_out_home, int event_out_home_helper) {
        this.event_out_home = event_out_home;
        this.event_out_home_helper = event_out_home_helper;
    }

    @Override
    public String toString() {

        //attrs : {"event_curtain_control":1,"event_curtain_control_helper":1}
        return "{\"attrs\":{" +
                "\"event_out_home\":" + event_out_home  +
                ",\"event_out_home_helper\":" + event_out_home_helper +
                "}}";
    }
}
